
import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }
}
class Data {
    private int x;
    private int y;
    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }
    public int getX() {
        return x;
    }
    public int getY() {
        return y;
    }
}
//import java.util.Date;
//
//public class Test {
//}
//    public static void main(String[] args) {
//        Student s1 = new Student("张三",15,20245555);
//        System.out.println(Student.classRomm);
//        System.out.println(s1.classNum);
//        s1.Print();
//    }
//    public static void main(String[] args) {
//        Date date = new Date();
//        System.out.println(date.getTime());
//    }
//}
//    public static void main(String[] args) {
//        Computer p1 = new Computer("hw","i7","16g","1k");
//        System.out.println(p1.brand);
//        System.out.println(p1.screen);
        //System.out.println(p1.cpu);
    //}
//    public static void main(String[] args) {
//        Date d1 = new Date();
//        d1.setDay(2009,5,9);
//        d1.printDate();
//        Date d2 = new Date(2006,6,5);
    //}
//    public static void main(String[] args) {
//        Petdog dog1 = new Petdog();
//        dog1.name = "小黄";
//        dog1.color = "黑色";
//        dog1.barks();
//    }
//}
